import request from '@/utils/request'

// 查询月出库量列表
export function listMonthexit(query) {
  return request({
    url: '/statistic/monthexit/list',
    method: 'get',
    params: query
  })
}

// 查询月出库量详细
export function getMonthexit(monthExitStatisticId) {
  return request({
    url: '/statistic/monthexit/' + monthExitStatisticId,
    method: 'get'
  })
}

// 新增月出库量
export function addMonthexit(data) {
  return request({
    url: '/statistic/monthexit',
    method: 'post',
    data: data
  })
}

// 修改月出库量
export function updateMonthexit(data) {
  return request({
    url: '/statistic/monthexit',
    method: 'put',
    data: data
  })
}

// 删除月出库量
export function delMonthexit(monthExitStatisticId) {
  return request({
    url: '/statistic/monthexit/' + monthExitStatisticId,
    method: 'delete'
  })
}
